
    <link rel="stylesheet" type="text/css" href="/admin/news/css/news.css" />
    <script type="text/javascript" charset="utf-8" src="/lib/ueditor/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/lib/ueditor/ueditor/ueditor.all.js"> </script>
    <script type="text/javascript" charset="utf-8" src="/lib/ueditor/ueditor/lang/zh-cn/zh-cn.js"> </script>
    <span class="span-title">新闻详情</span>
    <div class="vcontent" style="padding-top:20px;">

<form class="form-horizontal" enctype="multipart/form-data" method="POST"
    action="/admin/news/add">
  <div class="form-group col-sm-6">
    <label for="inputEmail3" class="col-sm-2 control-label">标题</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" id="inpTitle" name="title" placeholder="标题">
    </div>
  </div>
  <div class="form-group col-sm-6">
    <label for="inputPassword3" class="col-sm-2 control-label">发布人</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" id="inpAuthor" name="author" placeholder="发布人">
    </div>
  </div>
  <div class="form-group col-sm-6">
    <label for="inputPassword3" class="col-sm-2 control-label">来源</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" id="inpSource" name="source" placeholder="来源">
    </div>
  </div>
  <div class="form-group col-sm-6">
    <label for="inputPassword3" class="col-sm-2 control-label">来源网址</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" id="inpSourceUrl" name="sourceUrl" placeholder="来源网址">
    </div>
  </div>
  <div class="form-group col-sm-6">
    <label for="fieldPhoto" class="col-sm-2 control-label">插图</label>
    <div class="col-sm-10">
      <input type="file" class="form-control" accept="image/*"
        id="fieldPhoto" data-url="/upload" name="upload" />
    </div>
  </div>
   <div class="form-group col-sm-12">
    <label for="fieldPhoto" class="col-sm-2 control-label">简介</label>
    <div class="col-sm-10">
       <textarea class="form-control" id="inpIntroduce" name="introduce" placeholder="简介" style="height:70px;"></textarea>
    </div>
  </div>
  <div class="form-group  col-sm-12">
    <label for="inputPassword3" class="col-sm-2 control-label">内容</label>
    <div class="col-sm-10">
      <script id="editor" name="content" type="text/plain" style="width: 100%; height: 520px;"></script>
    </div>
  </div>
 
  <input type="hidden" id="hidNewsID" name="id"  value="{{newsID}}"/>
  <input type="hidden" id="hidPage"  name="page" value="{{page}}"/>
    <div class="form-group">
    <div class="col-sm-offset-2 col-sm-4">
       <button type="submit" class="btn-common btn-ok">确 定</button>
       <button type="button" class="btn-common btn-cancle" onclick='javascript:location.href = "/admin/news/" + $("#hidPage").val();'>取 消</button>
    </div>
  </div>
</form>
</div>
<script type="text/javascript">
  require(['/admin/news/js/f_newsdetail.js'],function(detail) {
    detail.init();
  });
</script>